<?php
/*
	经销中心
*/
defined('BY_JYA') or exit('error');
$_RQ['op']=$_RQ['op']?$_RQ['op']:'main';
$member=$this->model('member')->checkmember('',true);
if($_RQ['op']=='main'){
	$data['yearfee']=$this->getsum('feechi',array('uniacid'=>$_SESSION['uniacid'],'type'=>1),'money');
	$data['monthfee']=$this->getsum('feechi',array('uniacid'=>$_SESSION['uniacid'],'type'=>0),'money');
	$return['data']=$data;
	exi($return);
}
?>